package com.calendar.api.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubTaskDTO {
    private Long id;

    @NotBlank(message = "标题不能为空")
    private String title;

    private boolean completed = false;
} 